<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <!-- start: Meta -->
    <meta charset="utf-8">
    <title>祥安消防系统</title>
    <meta name="description" content="Bootstrap Metro Dashboard">
    <meta name="author" content="Dennis Ji">
    <meta name="keyword"
          content="Metro, Metro UI, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <!-- end: Meta -->

    <!-- start: Mobile Specific -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- end: Mobile Specific -->

    <!-- start: CSS -->
    <link id="bootstrap-style" href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
    <link id="base-style" href="css/style.css" rel="stylesheet">
    <link id="base-style-responsive" href="css/style-responsive.css"
          rel="stylesheet">
    <link
            href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=latin,cyrillic-ext,latin-ext'
            rel='stylesheet' type='text/css'>
    <!-- end: CSS -->


    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <link id="ie-style" href="css/ie.css" rel="stylesheet">
    <![endif]-->

    <!--[if IE 9]>
    <link id="ie9style" href="css/ie9.css" rel="stylesheet">
    <![endif]-->

    <!-- start: Favicon -->
    <link rel="shortcut icon" href="img/favicon.ico">
    <!-- end: Favicon -->




</head>
<body>


<!-- start: JavaScript-->

<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/jquery-migrate-1.0.0.min.js"></script>

<script src="js/jquery-ui-1.10.0.custom.min.js"></script>

<script src="js/jquery.ui.touch-punch.js"></script>

<script src="js/modernizr.js"></script>

<script src="js/bootstrap.min.js"></script>

<script src="js/jquery.cookie.js"></script>

<script src='js/fullcalendar.min.js'></script>

<script src='js/jquery.dataTables.min.js'></script>

<script src="js/excanvas.js"></script>
<script src="js/jquery.flot.js"></script>
<script src="js/jquery.flot.pie.js"></script>
<script src="js/jquery.flot.stack.js"></script>
<script src="js/jquery.flot.resize.min.js"></script>

<script src="js/jquery.chosen.min.js"></script>

<script src="js/jquery.uniform.min.js"></script>

<script src="js/jquery.cleditor.min.js"></script>

<script src="js/jquery.noty.js"></script>

<script src="js/jquery.elfinder.min.js"></script>

<script src="js/jquery.raty.min.js"></script>

<script src="js/jquery.iphone.toggle.js"></script>

<script src="js/jquery.uploadify-3.1.min.js"></script>

<script src="js/jquery.gritter.min.js"></script>

<script src="js/jquery.imagesloaded.js"></script>

<script src="js/jquery.masonry.min.js"></script>

<script src="js/jquery.knob.modified.js"></script>

<script src="js/jquery.sparkline.min.js"></script>

<script src="js/counter.js"></script>

<script src="js/retina.js"></script>

<script src="js/custom.js"></script>
<script>

    function printJc() {
        var path = "${pageContext.request.contextPath}/whyjtask_printWhyjTask";
        $('#formjc').attr("action", path).submit();
    }

    $(document).ready(function(){
        var v = $("#Radios1").val();
        $("#type").val(v);

        getques();
        //1 创建select对象,将name属性指定

        $("#company").change(getques);

        $("#newQuestion").click(function () {
            var name = $("#company option:selected");
            var type = $("#type")

            if(type.val()=='维护'){
                window.open("${pageContext.request.contextPath}/Ques_newQuestion?company=${name.val()}&type=维护");
            }else {
                window.open("${pageContext.request.contextPath}/Ques_newQuestion?company=${name.val()}");
            }



        });

        $("#Radios1").change(function () {
            var v = $("#Radios1").val();
            $("#type").val(v);
            getques();

        })

        $("#Radios2").change(function () {


            var v = $("#Radios2").val();
            $("#type").val(v);
            getques();
        })



    });




</script>


<!-- end: JavaScript-->



<!-- start: Header -->
<%@include file="header.jsp"%>
<div class="container-fluid-full">
    <div class="row-fluid">

        <!-- start: Main Menu -->
        <%@include file="mainmenu.jsp"%>
        <!-- start: Content -->
        <div id="content" class="span10">
            <ul class="breadcrumb">
                <li><i class="icon-home"></i> <a href="index.html">主页</a> <i
                        class="icon-angle-right"></i></li>
                <li><a href="#">新建维护月检现场执行</a></li>
            </ul>

            <div class="row-fluid sortable">
                <div class="box span12">
                    <div class="box-header" data-original-title>
                        <h2>
                            <i class="halflings-icon white edit"></i><span class="break"></span>新建维护月检现场执行
                        </h2>
                        <div class="box-icon">
                            <a href="#" class="btn-setting"><i
                                    class="halflings-icon white wrench"></i></a> <a href="#"
                                                                                    class="btn-minimize"><i
                                class="halflings-icon white chevron-up"></i></a> <a href="#"
                                                                                    class="btn-close"><i class="halflings-icon white remove"></i></a>
                        </div>
                    </div>
                    <div class="box-content">
                        <img src="img/u2142.png">
                        <form id="formjc" class="form-horizontal" method="post" enctype="multipart/form-data" action="${pageContext.request.contextPath}/whyjtask_saveOrUpdate.action">
                            <fieldset>
                                <label class="label-info">任务基本信息</label>
                                <input type="hidden" id="type" name="type" >
                                <input type="hidden" id="jcid" name="taskWhyj.id" value="<s:property value="#taskWhyj.id"/>">
                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="tqyjflx" name="taskWhyj.tqyjflx" value="1"
                                        <s:property value="#taskWhyj.tqyjflx==1?'checked':''"/>>提前一日与甲方联系，确定后才能开始本次任务
                                    </label>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*任务名称：</label>
                                    <div class="controls">
                                        <input class="input-xlarge focused" name="taskWhyj.taskName" id="taskName" type="text"
                                               value="<s:property value="#taskWhyj.taskName"/>" placeholder="请输入">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*单位名称：</label>
                                    <div  class="controls">
                                        <label class="control-label"   style="text-align: left"><s:property value="#company"/></label>
                                        <input type="hidden" id="companyName" name="taskWhyj.companyName" value="<s:property value="#company"/>">

                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*编号：</label>
                                    <div class="controls">
                                        <label class="control-label" style="text-align: left"><s:if test="#number==null"><s:property value="#taskWhyj.taskNumber"/></s:if><s:property value="#number"/></label>
                                        <input type="hidden" name="taskWhyj.taskNumber"
                                               value="<s:property value="#number==null?#taskWhyj.taskNumber:#number"/>">
                                    </div>
                                </div>


                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*检测人员：</label>
                                    <div class="controls" id="people">
                                        <select  multiple data-rel="chosen" data-placeholder="请选择人员" name="taskWhyj.taskPeople">
                                            <s:iterator id="jc" value="#nameList" var="jc">
                                                <option value="<s:property value="#jc.dict_item_name"/>"
                                                        <s:if test="#taskWhyj.taskPeople.contains(#jc.dict_item_name)">selected</s:if>>
                                                    <s:property value="#jc.dict_item_name"/></option>
                                            </s:iterator>
                                        </select>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*人员考勤状态：</label>
                                    <div class="controls">
                                        <input class="input-xlarge focused" name="taskWhyj.peopleLate" id="peopleLate" type="text"
                                               value="<s:property value="#taskWhyj.peopleLate"/>" placeholder="请输入">
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox33" name="taskWhyj.zpkq" value="1"
                                            <s:property value="#taskWhyj.zpkq==1?'checked':''"/>>照片考勤
                                        </label>
                                        <label class="checkbox inline">
                                            <input type="checkbox" id="inlineCheckbox34" name="taskWhyj.rwjhzp" value="1"
                                            <s:property value="#taskWhyj.rwjhzp==1?'checked':''"/>>任务计划照片
                                        </label>
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label" style="text-align: left">*任务性质：</label>
                                    <div class="controls">
                                        <label class="radio">
                                            <input type="radio" name="taskWhyj.nature" id="Radios1" value="维护" checked=""
                                            <s:property value="#taskWhyj.nature=='维护'?'checked':''"/>>单次维护
                                        </label>
                                        <div style="clear:both"></div>
                                        <label class="radio">
                                            <input type="radio" name="taskWhyj.nature" id="Radios2" value="维护"
                                            <s:property value="#taskWhyj.nature=='月检测'?'checked':''"/>>月检测
                                        </label>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="date01"  style="text-align: left">*执行日期：</label>
                                    <div class="controls">
                                        <input type="text" class="input-xlarge datepicker" name="taskWhyj.executeTime" id="date01"
                                        value="<s:property value="#taskWhyj.executeTime"/>">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="date01"  style="text-align: left">*应到时间：</label>
                                    <div class="controls">
                                        <input type="time"  name="taskWhyj.time" id="date0"
                                               value="<s:property value="#taskWhyj.time"/>">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*甲方联系人及电话：</label>
                                    <div class="controls">
                                        <input class="input-xlarge focused" name="taskWhyj.linkman" id="missionname" type="text"
                                               value="<s:property value="#taskWhyj.linkman"/>" placeholder="请输入">
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*任务地点及建筑名称：</label>
                                    <div class="controls">
                                        <input class="input-xlarge focused" name="taskWhyj.taskAdress" id="taskAdress" type="text"
                                               value="<s:property value="#taskWhyj.taskAdress"/>" placeholder="请输入">
                                    </div>
                                </div>

                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="ddxfs" value="1" name="taskWhyj.ddxfs"
                                        <s:property value="#taskWhyj.ddxfs==1?'checked':''"/>>调度需发送任务问题表
                                    </label>
                                </div>
                                <img src="img/u2142.png">
                                <label class="label-info">问题列表</label>
                                <div class="box-content">
                                    <%-- <button type="button" class="btn btn-small btn-info" id="newQuestion" style="float: right;"
                                                        >+新建问题</button>--%>
                                      <%--！！！！！！！！！！修改了此处 function正常运行--%>
                                    <table
                                            class="table table-striped table-bordered bootstrap-datatable">
                                        <thead>
                                        <tr>
                                            <th>本次执行</th>
                                            <th>问题名称</th>
                                            <th>记录人时间</th>
                                            <th>初始类型</th>
                                            <th>责任方</th>
                                            <th>是否需要材料</th>
                                            <th>材料需求</th>
                                            <th>厂家</th>
                                            <th>数量</th>
                                            <th>型径</th>
                                            <th>材辅核准人时间</th>
                                            <th>材料单价</th>
                                            <th>辅料单价</th>
                                            <th>人工报价</th>
                                            <th>总报价</th>
                                            <th>维修方法、人数及时间</th>
                                            <th>状态</th>
                                            <th>状态及责任方变更记录</th>
                                            <th>位置</th>
                                            <th>操作</th>
                                        </tr>
                                        </thead>
                                        <tbody>



                                        <s:iterator id="jc" value="#questionList1" var="jc" status="st">

                                            <tr>
                                                <td><input type="checkbox" value="1" name="questionList1[${st.index}].isSelected"
                                                    <s:property value="#jc.isSelected==1?'checked':''"/>></td>

                                                <td width="20%">
                                                    <input type="hidden" value="<s:property value="#jc.id"/>" name="questionList1[${st.index}].id">
                                                    <input type="hidden" value="<s:property value="#jc.companyName"/>" name="questionList1[${st.index}].companyName">
                                                    <input type="hidden" value="<s:property value="#jc.questionName"/>" name="questionList1[${st.index}].questionName">
                                                    <input type="hidden" value="<s:property value="#jc.type"/>" name="questionList1[${st.index}].type">
                                                    <input type="hidden" value="<s:property value="#jc.insertTime"/>" name="questionList1[${st.index}].insertTime">
                                                    <input type="hidden" value="<s:property value="#jc.isfinish"/>" name="questionList1[${st.index}].isfinish">
                                                    <input type="hidden" value="<s:property value="#jc.details"/>" name="questionList1[${st.index}].details">
                                                    <input type="hidden" value="<s:property value="#jc.dutyPeople"/>" name="questionList1[${st.index}].dutyPeople">
                                                    <input type="hidden" value="<s:property value="#jc.mustDo"/>" name="questionList1[${st.index}].mustDo">
                                                    <input type="hidden" value="<s:property value="#jc.wbclyy"/>" name="questionList1[${st.index}].wbclyy">
                                                    <input type="hidden" value="<s:property value="#jc.cj"/>" name="questionList1[${st.index}].cj">
                                                    <input type="hidden" value="<s:property value="#jc.gf"/>" name="questionList1[${st.index}].gf">
                                                    <input type="hidden" value="<s:property value="#jc.hzr"/>" name="questionList1[${st.index}].hzr">
                                                    <input type="hidden" value="<s:property value="#jc.hzsj"/>" name="questionList1[${st.index}].hzsj">
                                                    <input type="hidden" value="<s:property value="#jc.lx"/>" name="questionList1[${st.index}].lx">
                                                    <input type="hidden" value="<s:property value="#jc.qz"/>" name="questionList1[${st.index}].qz">
                                                    <input type="hidden" value="<s:property value="#jc.sl"/>" name="questionList1[${st.index}].sl">
                                                    <input type="hidden" value="<s:property value="#jc.sxcl"/>" name="questionList1[${st.index}].sxcl">
                                                    <input type="hidden" value="<s:property value="#jc.xj"/>" name="questionList1[${st.index}].xj">
                                                    <input type="hidden" value="<s:property value="#jc.cldj"/>" name="questionList1[${st.index}].cldj">
                                                    <input type="hidden" value="<s:property value="#jc.fldj"/>" name="questionList1[${st.index}].fldj">
                                                    <input type="hidden" value="<s:property value="#jc.zj"/>" name="questionList1[${st.index}].zj">
                                                    <input type="hidden" value="<s:property value="#jc.ztjzrbgjl"/>" name="questionList1[${st.index}].ztjzrbgjl">
                                                    <input type="hidden" value="<s:property value="#jc.flcb"/>" name="questionList1[${st.index}].flcb">
                                                    <input type="hidden" value="<s:property value="#jc.wxfa"/>" name="questionList1[${st.index}].wxfa">
                                                    <input type="hidden" value="<s:property value="#jc.fcmcxjsl"/>" name="questionList1[${st.index}].fcmcxjsl">
                                                    <input type="hidden" value="<s:property value="#jc.gjxh"/>" name="questionList1[${st.index}].gjxh">
                                                    <input type="hidden" value="<s:property value="#jc.rgbj"/>" name="questionList1[${st.index}].rgbj">
                                                    <input type="hidden" value="<s:property value="#jc.needcl"/>" name="questionList1[${st.index}].needcl">
                                                    <input type="hidden" value="<s:property value="#jc.level"/>" name="questionList1[${st.index}].level">


                                                        <s:property value="#jc.questionName"/></td>
                                                <td><s:property value="#jc.dutyPeople"/><s:property value="#jc.insertTime"/></td>
                                                <td><s:property value="#jc.lx"/></td>
                                                <td><s:property value="#jc.gf"/></td>
                                                <td><s:property value="#jc.needcl==1?'是':'否'"/></td>
                                                <td><s:property value="#jc.sxcl"/></td>
                                                <td><s:property value="#jc.cj"/></td>
                                                <td><s:property value="#jc.sl"/></td>
                                                <td><s:property value="#jc.xj"/></td>
                                                <td><s:property value="#jc.hzr"/><s:property value="#jc.hzsj"/></td>
                                                <td><s:property value="#jc.cldj"/></td>
                                                <td><s:property value="#jc.fldj"/></td>
                                                <td><s:property value="#jc.rgbj"/></td>
                                                <td><s:property value="#jc.zj"/></td>
                                                <td><s:property value="#jc.wxfa"/></td>
                                                <td><s:property value="#jc.isfinish"/></td>
                                                <td><s:property value="#jc.ztjzrbgjl"/></td>
                                                <td><s:property value="#jc.details"/></td>
                                                <td class="center">
                                                    <a target="_blank" class="btn btn-info" href="${pageContext.request.contextPath}/Ques_editQuestion?questionId=<s:property value="#jc.id"/>">
                                                        <i class="halflings-icon white edit"></i>
                                                    </a>

                                                </td>


                                            </tr>


                                        </s:iterator>


                                        <s:iterator id="jc" value="#questionList2" var="jc" status="st">

                                            <tr>
                                                <td><input type="checkbox" value="1" name="questionList2[${st.index}].isSelected"
                                                    <s:property value="#jc.isSelected==1?'checked':''"/>></td>

                                                <td width="20%">
                                                    <input type="hidden" value="<s:property value="#jc.id"/>" name="questionList2[${st.index}].id">
                                                    <input type="hidden" value="<s:property value="#jc.companyName"/>" name="questionList2[${st.index}].companyName">
                                                    <input type="hidden" value="<s:property value="#jc.questionName"/>" name="questionList2[${st.index}].questionName">
                                                    <input type="hidden" value="<s:property value="#jc.type"/>" name="questionList2[${st.index}].type">
                                                    <input type="hidden" value="<s:property value="#jc.insertTime"/>" name="questionList2[${st.index}].insertTime">
                                                    <input type="hidden" value="<s:property value="#jc.isfinish"/>" name="questionList2[${st.index}].isfinish">
                                                    <input type="hidden" value="<s:property value="#jc.details"/>" name="questionList2[${st.index}].details">
                                                    <input type="hidden" value="<s:property value="#jc.dutyPeople"/>" name="questionList2[${st.index}].dutyPeople">
                                                    <input type="hidden" value="<s:property value="#jc.mustDo"/>" name="questionList2[${st.index}].mustDo">
                                                    <input type="hidden" value="<s:property value="#jc.wbclyy"/>" name="questionList2[${st.index}].wbclyy">
                                                    <input type="hidden" value="<s:property value="#jc.cj"/>" name="questionList2[${st.index}].cj">
                                                    <input type="hidden" value="<s:property value="#jc.gf"/>" name="questionList2[${st.index}].gf">
                                                    <input type="hidden" value="<s:property value="#jc.hzr"/>" name="questionList2[${st.index}].hzr">
                                                    <input type="hidden" value="<s:property value="#jc.hzsj"/>" name="questionList2[${st.index}].hzsj">
                                                    <input type="hidden" value="<s:property value="#jc.lx"/>" name="questionList2[${st.index}].lx">
                                                    <input type="hidden" value="<s:property value="#jc.qz"/>" name="questionList2[${st.index}].qz">
                                                    <input type="hidden" value="<s:property value="#jc.sl"/>" name="questionList2[${st.index}].sl">
                                                    <input type="hidden" value="<s:property value="#jc.sxcl"/>" name="questionList2[${st.index}].sxcl">
                                                    <input type="hidden" value="<s:property value="#jc.xj"/>" name="questionList2[${st.index}].xj">
                                                    <input type="hidden" value="<s:property value="#jc.cldj"/>" name="questionList2[${st.index}].cldj">
                                                    <input type="hidden" value="<s:property value="#jc.fldj"/>" name="questionList2[${st.index}].fldj">
                                                    <input type="hidden" value="<s:property value="#jc.zj"/>" name="questionList2[${st.index}].zj">
                                                    <input type="hidden" value="<s:property value="#jc.ztjzrbgjl"/>" name="questionList2[${st.index}].ztjzrbgjl">
                                                    <input type="hidden" value="<s:property value="#jc.flcb"/>" name="questionList2[${st.index}].flcb">
                                                    <input type="hidden" value="<s:property value="#jc.wxfa"/>" name="questionList2[${st.index}].wxfa">
                                                    <input type="hidden" value="<s:property value="#jc.fcmcxjsl"/>" name="questionList2[${st.index}].fcmcxjsl">
                                                    <input type="hidden" value="<s:property value="#jc.gjxh"/>" name="questionList2[${st.index}].gjxh">
                                                    <input type="hidden" value="<s:property value="#jc.rgbj"/>" name="questionList2[${st.index}].rgbj">
                                                    <input type="hidden" value="<s:property value="#jc.needcl"/>" name="questionList2[${st.index}].needcl">
                                                    <input type="hidden" value="<s:property value="#jc.level"/>" name="questionList2[${st.index}].level">


                                                        <s:property value="#jc.questionName"/></td>
                                                <td><s:property value="#jc.dutyPeople"/><s:property value="#jc.insertTime"/></td>
                                                <td><s:property value="#jc.lx"/></td>
                                                <td><s:property value="#jc.gf"/></td>
                                                <td><s:property value="#jc.needcl==1?'是':'否'"/></td>
                                                <td><s:property value="#jc.sxcl"/></td>
                                                <td><s:property value="#jc.cj"/></td>
                                                <td><s:property value="#jc.sl"/></td>
                                                <td><s:property value="#jc.xj"/></td>
                                                <td><s:property value="#jc.hzr"/><s:property value="#jc.hzsj"/></td>
                                                <td><s:property value="#jc.cldj"/></td>
                                                <td><s:property value="#jc.fldj"/></td>
                                                <td><s:property value="#jc.rgbj"/></td>
                                                <td><s:property value="#jc.zj"/></td>
                                                <td><s:property value="#jc.wxfa"/></td>
                                                <td><s:property value="#jc.isfinish"/></td>
                                                <td><s:property value="#jc.ztjzrbgjl"/></td>
                                                <td><s:property value="#jc.details"/></td>
                                                <td class="center">
                                                    <a target="_blank" class="btn btn-info" href="${pageContext.request.contextPath}/Ques_editQuestion?questionId=<s:property value="#jc.id"/>">
                                                        <i class="halflings-icon white edit"></i>
                                                    </a>

                                                </td>


                                            </tr>


                                        </s:iterator>




                                        </tbody>
                                    </table>
                                </div>
                                <img src="img/u2142.png">
                                <label class="label-info">固定提醒</label>
                                <label>1、下午结束后请将设备数量表和反馈任务表拍照发送至群里。</label>
                                <label>2、准备事项：工作服，设备数量表，对讲机，风速仪。</label>
                                <label>3、新建添加其他备注提醒：</label>
                                <textarea style="width: 800px;height: 100px;" name="taskWhyj.remarks"><s:property value="#taskWhyj.remarks"/></textarea>

                                <label class="label-info">任务确认</label>
                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox6" name="taskWhyj.bcrwxygb" value="1"
                                        <s:property value="#taskWhyj.bcrwxygb==1?'checked':''"/>>本次任务需要改变，告知调度
                                    </label>
                                </div>
                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox7" name="taskWhyj.ddhd" value="1"
                                        <s:property value="#taskWhyj.ddhd==1?'checked':''"/>>调度回电
                                    </label>
                                </div>

                                <div class="control-group" >
                                    <label>*改变原因及处理结果：</label>
                                    <textarea style="width: 800px;height: 100px;" name="taskWhyj.result"><s:property value="#taskWhyj.result"/></textarea>
                                </div>


                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="sfdxycg" name="taskWhyj.sfdxycg" value="1"
                                        <s:property value="#taskWhyj.sfdxycg==1?'checked':''"/>>师傅端需要采购
                                    </label>

                                </div>
                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*采购现场执行编号：</label>
                                    <div class="controls">
                                        <input class="input-xlarge focused" id="cgxczxbh" name="taskWhyj.cgxczxbh" type="text" placeholder="请输入"
                                        value="<s:property value="#taskWhyj.cgxczxbh"/>">
                                    </div>
                                </div>
                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*采购现场执行建立人：</label>
                                    <div class="controls">
                                        <select id="selectError3" name="taskWhyj.cgxczxjlr">
                                            <s:iterator id="jc" value="#nameList" var="jc">
                                                <option value="<s:property value="#jc.dict_item_name"/>"
                                                        <s:if test="#jc.dict_item_name == #taskWhyj.cgxczxjlr">selected</s:if>>
                                                    <s:property value="#jc.dict_item_name"/></option>
                                            </s:iterator>
                                        </select>
                                    </div>
                                </div>


                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox3" name="taskWhyj.bcfxzzbwt" value="1"
                                        <s:property value="#taskWhyj.bcfxzzbwt==1?'checked':''"/>>本次新发现纸质版问题已经新建
                                    </label>
                                </div>
                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox5" name="taskWhyj.wtztzcqr" value="1"
                                        <s:property value="#taskWhyj.wtztzcqr==1?'checked':''"/>>问题状态再次确认
                                    </label>
                                </div>
                                <div class="control-group" >
                                    <label class="control-label"style="text-align: left">*纸质记录上传/下载</label>
                                    <div class="control-group">
                                        <input type="file" id = "chooseBox" name="file">
                                        <a href="${pageContext.request.contextPath}/download_downloadFile?fileName=<s:property
                                        value="#taskWhyj.updown"/>"><s:property value="#taskWhyj.updown"/></a>
                                            <input type="hidden" name="taskWhyj.updown" value="<s:property value="#taskWhyj.updown"/>">
                                    </div>

                                </div>

                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox4" value="1" name="taskWhyj.zzbfkqr"
                                        <s:property value="#taskWhyj.zzbfkqr==1?'checked':''"/>>纸质版反馈确认
                                    </label>
                                </div>

                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox2" value="1" name="taskWhyj.sbsljysf"
                                        <s:property value="#taskWhyj.sbsljysf==1?'checked':''"/>>设备数量每页甲乙双方签名填写
                                    </label>
                                </div>

                                <div class="control-group" >
                                    <label class="checkbox inline">
                                        <input type="checkbox" id="inlineCheckbox" value="1" name="taskWhyj.isConfirm"
                                        <s:property value="#taskWhyj.isConfirm==1?'checked':''"/>>任务已确认
                                    </label>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*任务负责人：</label>
                                    <div id="duty" class="controls">
                                        <select name="taskWhyj.confirmPeople">
                                            <s:iterator id="jc" value="#nameList" var="jc">
                                                <option value="<s:property value="#jc.dict_item_name"/>"
                                                        <s:if test="#jc.dict_item_name == #taskWhyj.confirmPeople">selected</s:if>>
                                                    <s:property value="#jc.dict_item_name"/></option>
                                            </s:iterator>
                                        </select>

                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*地图导航：</label>
                                    <a target="_blank" href="http://map.baidu.com">点击前往</a>
                                </div>
                                <div class="control-group">
                                    <label class="control-label"   style="text-align: left">*出行方式：</label>
                                    <select id="cxfs" name="taskWhyj.cxfs" >
                                        <option <s:if test="'公交' == #taskWhyj.cxfs">selected</s:if>>公交</option>
                                        <option <s:if test="'公司车辆' == #taskWhyj.cxfs">selected</s:if>>公司车辆</option>
                                        <option <s:if test="'打车' == #taskWhyj.cxfs">selected</s:if>>打车</option>
                                        <option <s:if test="'公交及打车' == #taskWhyj.cxfs">selected</s:if>>公交及打车</option>

                                    </select>
                                </div>

                                <div class="form-actions">
                                    <button class="btn" type="button" onclick="printJc()">打印</button>
                                    <button class="btn btn-primary" onclick="checkForm()">保存</button>
                                    <button class="btn">关闭</button>
                                </div>
                            </fieldset>
                        </form>


                    </div>
                </div>
                <!--/span-->

            </div>

        </div>
        <!--/.fluid-container-->

        <!-- end: Content -->
    </div>
    <!--/#content.span10-->
</div>
<!--/fluid-row-->

<%@include file="footer.jsp"%>




</body>


</html>